Total Complexity | 32 |
Dependencies | 8 |
Dependents | 1 |
Total lines | 275 |
Lines of code | 122 |
Logical lines of code | 53 |
Comment lines | 105 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
deactivate_disconnect_network() | 60 | 4 | 13 | |
is_connected() | 62 | 4 | 11 | |
get_connection_api_response() | 67 | 4 | 7 | |
register() | 63 | 3 | 12 | |
wpcom_blog_id() | 77 | 3 | 3 | |
can_manage_connection() | 60 | 2 | 15 | |
register_rest_routes() | 57 | 1 | 20 | |
initialize_deactivate_disconnect() | 67 | 2 | 8 | |
create_connection_endpoint() | 68 | 2 | 8 | |
rest_authorization_required_code() | 79 | 2 | 3 | |
__construct() | 69 | 1 | 6 | |
add_connection_config_data() | 76 | 1 | 4 | |
deactivate_disconnect() | 78 | 1 | 4 | |
disconnect() | 74 | 1 | 5 | |
get_connection_endpoint() | 80 | 1 | 3 |